class Comment < ActiveRecord::Base
  belongs_to :commentable, :polymorphic => true, :dependent => :destroy
  belongs_to :author, :class_name => "User", :foreign_key => "author_id", :dependent => :destroy
  
end
